/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.classinfo.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.classinfo.entity.ClassInfo;
import com.thinkgem.jeesite.modules.classinfo.dao.ClassInfoDao;

/**
 * 班级管理Service
 * @author lihuan
 * @version 2018-12-19
 */
@Service
@Transactional(readOnly = true)
public class ClassInfoService extends CrudService<ClassInfoDao, ClassInfo> {

	public ClassInfo get(String id) {
		return super.get(id);
	}
	
	public List<ClassInfo> findList(ClassInfo classInfo) {
		return super.findList(classInfo);
	}
	
	public Page<ClassInfo> findPage(Page<ClassInfo> page, ClassInfo classInfo) {
		return super.findPage(page, classInfo);
	}
	
	@Transactional(readOnly = false)
	public void save(ClassInfo classInfo) {
		super.save(classInfo);
	}
	
	@Transactional(readOnly = false)
	public void delete(ClassInfo classInfo) {
		super.delete(classInfo);
	}
	
}